//
//  PFPhotosManager.h
//  PrintFamily
//
//  Created by edaihua on 16/2/29.
//  Copyright © 2016年 ___PrintFactory___. All rights reserved.
//
#import <Foundation/Foundation.h>

@class PFPhoto;
@class PHAsset;
@class PFCommonRectManager;

@interface PFPhotosManager : NSObject

- (instancetype)initFromLocalStorage;
- (void)addSelectedPhotoToPrintDesk:(NSMutableArray*)selectedPhotos rectManager:(PFCommonRectManager*)rectManager;

- (void)replaceSelectedPhotoToPrint:(NSMutableArray*)selectedPhotos rectManager:(PFCommonRectManager*)rectManager;

- (NSMutableArray*)getSelectedAssets;
- (void)clearSelectedPhotos;

- (PFPhoto*)getPhotoByLocalIdentifier:(NSString*)identifier;
- (PFPhoto*)getPhotoAtIndex:(NSUInteger)index;
- (PHAsset*)getAssetAtIndex:(NSUInteger)index;

- (void)removePhotoAtIndex:(NSUInteger)index;
- (NSUInteger)getPhotoCount;

- (NSMutableArray*)getPhotosMutableCopy;

@end
